#ifndef GW_NET_DEF_H__
#define GW_NET_DEF_H__

#define ping_gw_req  0x2002
#define get_tcs_req  0x2004

typedef struct _tagTcsPingGW
{
	char nodeid[8];
	int  node_type;
	int  cpuusage;
	int  bindwidth;
	char Public_key[128];

}TcsPingGW;

typedef struct _tagReqTcsInfo
{
	int  type;
	char LoginName[32];

}ReqTcsInfo;


typedef struct _tagRetTcsInfo
{
	char  csip[32];
	int   csport;
	char  Public_key[128];

}RetTcsInfo;

typedef struct _tagTcsInfo
{
    TcsPingGW  xCsBase;
	RetTcsInfo xRetCsInfo;

	_tagTcsInfo()
	{
		memset(this,0,sizeof(_tagTcsInfo));
	}

}TcsInfo;

#endif